﻿/*
 * ========================================================================
 * Copyright(c) 2007-2012 情留メ蚊子, All Rights Reserved.
 * Welcom use the LiteFetion.
 * See more information,Please goto http://www.94qing.com
 * ========================================================================
 * 
 * 作 者：情留メ蚊子
 * Q  Q: 540644769
 * 邮 箱：qlwz@qq.com
 * 网 址：http://www.94qing.com
 * ========================================================================
*/

namespace LiteFetion.Model
{
    /// <summary>
    /// 一些配置，主要是关于url
    /// </summary>
    public class Gobal
    {
        public const string WEBIM_DOMAIN = "webim.feixin.10086.cn";
        public const string WEBIM_URL_ROOT = "http://webim.feixin.10086.cn/";
        public const string WEBIM_URL_HTTPS_ROOT = "https://webim.feixin.10086.cn/";
        public const string WEBIM_URL_MAIN = WEBIM_URL_ROOT + "main.aspx";
        public const string WEBIM_URL_LOGIN = WEBIM_URL_HTTPS_ROOT + "WebIM/Login.aspx";
        public const string WEBIM_URL_LOGOUT = WEBIM_URL_HTTPS_ROOT + "WebIM/logout.aspx?Version={0}";
        public const string WEBIM_URL_GET_PIC = WEBIM_URL_ROOT + "WebIM/GetPicCode.aspx?Type={0}";

        public const string WEBIM_URL_CONNECT = WEBIM_URL_ROOT + "WebIM/GetConnect.aspx?Version={0}";
        public const string WEBIM_URL_GET_PERSONAL_INFO = WEBIM_URL_ROOT + "WebIM/GetPersonalInfo.aspx?Version={0}";
        public const string WEBIM_URL_GET_CONTACT_LIST = WEBIM_URL_ROOT + "WebIM/GetContactList.aspx?Version={0}";
        public const string WEBIM_URL_SEND_MESSAGE = WEBIM_URL_ROOT + "WebIM/SendMsg.aspx?Version={0}";
        public const string WEBIM_URL_SET_PERSONAL_INFO = WEBIM_URL_ROOT + "WebIM/SetPersonalInfo.aspx?Version={0}";
        public const string WEBIM_URL_SET_PRESENCE = WEBIM_URL_ROOT + "WebIM/SetPresence.aspx?Version={0}";
        public const string WEBIM_URL_ADD_BUDDY = WEBIM_URL_ROOT + "WebIM/AddBuddy.aspx?Version={0}";
        public const string WEBIM_URL_HANDLE_ADD_BUDDY = WEBIM_URL_ROOT + "WebIM/HandleAddBuddy.aspx?Version={0}";
        public const string WEBIM_URL_GET_PORTRAIT = WEBIM_URL_ROOT + "WebIM/GetPortrait.aspx?did={0}&Size={1}&Crc={2}&mid={3}";
        public const string WEBIM_URL_OP_BUDDY = WEBIM_URL_ROOT + "WebIM/OpBuddy.aspx?Version={0}";
        public const string WEBIM_URL_SEND_SMS = WEBIM_URL_ROOT + "content/WebIM/SendSMS.aspx?Version={0}";
        public const string WEBIM_URL_SET_SCHEDULESMS = WEBIM_URL_ROOT + "content/WebIM/SetScheduleSms.aspx?Version={0}&Type=0";
        public const int FETION_MAX_POLL_NOTIFY_FAILED = 60;
    }
}
